package com.net.model;

import java.sql.Timestamp;

public class Website {
	private int id;
	private WebsiteType type;
	private String name;
	private String domain;
	private String ip;
	private Timestamp create_time;
	private Timestamp update_time;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public WebsiteType getType() {
		return type;
	}

	public void setType(WebsiteType type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Timestamp getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}

	public Timestamp getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Timestamp update_time) {
		this.update_time = update_time;
	}

	@Override
	public String toString() {
		return "Website [id=" + id + ", type=" + type + ", name=" + name + ", domain=" + domain + ", ip=" + ip
				+ ", create_time=" + create_time + ", update_time=" + update_time + "]";
	}

}
